From a9e4b41a04b8d1a6d3d687964c146b87f60f9683 Mon Sep 17 00:00:00 2001
From: Mike Krus <mike.krus@kdab.com>
Date: Mon, 28 Dec 2015 21:02:35 +0000
Subject: [PATCH] tvOS support
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

QT_ARCH for tvOS is arm64 (not arm, since it’s 64bits only)

Change-Id: Ia03d3ee07d2543a0e70ee7d77448aff9382d8fc8
Reviewed-by: Jake Petroules <jake.petroules@theqtcompany.com>

Upstream: https://code.qt.io/cgit/qt/qtimageformats.git/patch/?id=e4c1d9ece74de212ebe5c55b134de7cb23469e2d
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
 src/3rdparty/libwebp.pri | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/3rdparty/libwebp.pri b/src/3rdparty/libwebp.pri
index b7c1bb6..2197953 100644
--- a/src/3rdparty/libwebp.pri
+++ b/src/3rdparty/libwebp.pri
@@ -82,7 +82,7 @@ android {
     INCLUDEPATH += $$NDK_ROOT/sources/android/cpufeatures
 }
 
-equals(QT_ARCH, arm) {
+equals(QT_ARCH, arm)|equals(QT_ARCH, arm64) {
     SOURCES_FOR_NEON += \
         $$PWD/libwebp/src/dsp/dec_neon.c \
         $$PWD/libwebp/src/dsp/enc_neon.c \
-- 
2.8.1

